Partager via


AgentProfileParameterInfo.DefaultValue Property

Represents the default value of the replication agent parameter.

Espace de noms: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Rmo (in microsoft.sqlserver.rmo.dll)

Syntaxe

'Déclaration
Public Property DefaultValue As String
public string DefaultValue { get; set; }
public:
property String^ DefaultValue {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_DefaultValue ()

/** @property */
public void set_DefaultValue (String value)
public function get DefaultValue () : String

public function set DefaultValue (value : String)

Valeur de propriété

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

Notes

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.

Sécurité des threads

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

AgentProfileParameterInfo Class
AgentProfileParameterInfo Members
Microsoft.SqlServer.Replication Namespace