Compartir a través de


DefaultValue Propiedad

Represents the default value of the replication agent parameter.

Espacio de nombres:  Microsoft.SqlServer.Replication
Ensamblado:  Microsoft.SqlServer.Rmo (en Microsoft.SqlServer.Rmo.dll)

Sintaxis

'Declaración
Public Property DefaultValue As String
    Get
    Set
'Uso
Dim instance As AgentProfileParameterInfo
Dim value As String

value = instance.DefaultValue

instance.DefaultValue = value
public string DefaultValue { get; set; }
public:
property String^ DefaultValue {
    String^ get ();
    void set (String^ value);
}
member DefaultValue : string with get, set
function get DefaultValue () : String
function set DefaultValue (value : String)

Valor de la propiedad

Tipo: System. . :: . .String
A String value that specifies the default value of the agent profile parameter.

Comentarios

You should check the NoDefaultValue property to make sure that a default value exists before accessing the DefaultValue property. If no default exists, this property raises an exception.

This namespace, class, or member is supported only in the .NET Framework 2.0.