Propriété LogProviderBase.ConfigString

Gets or sets a string used to configure the log provider.

Espace de noms :  Microsoft.SqlServer.Dts.Runtime
Assembly :  Microsoft.SqlServer.ManagedDTS (en Microsoft.SqlServer.ManagedDTS.dll)

Syntaxe

'Déclaration
Public Overridable Property ConfigString As String 
    Get 
    Set
'Utilisation
Dim instance As LogProviderBase 
Dim value As String 

value = instance.ConfigString

instance.ConfigString = value
public virtual string ConfigString { get; set; }
public:
virtual property String^ ConfigString {
    String^ get ();
    void set (String^ value);
}
abstract ConfigString : string with get, set 
override ConfigString : string with get, set
function get ConfigString () : String 
function set ConfigString (value : String)

Valeur de propriété

Type : System.String
A string used to configure the log provider.

Notes

The ConfigString property stores different information depending on the log provider requirements.

If you are creating a log provider that connects to an external data source, you should use this property to hold the name of the ConnectionManager that connects to the external data source.

During the Validate method, you should ensure this property contains valid configuration information.

Voir aussi

Référence

LogProviderBase Classe

Espace de noms Microsoft.SqlServer.Dts.Runtime