共用方式為


AgentProfileParameterInfo.DefaultValue Property

Definition

Represents the default value of the replication agent parameter.

public:
 property System::String ^ DefaultValue { System::String ^ get(); void set(System::String ^ value); };
public string DefaultValue { get; set; }
member this.DefaultValue : string with get, set
Public Property DefaultValue As String

Property Value

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

Remarks

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.

Applies to