Compartilhar via


IUpdateServerConfiguration.UpstreamWsusServerName Property

 

Applies To: Windows Server Update Services

Gets or sets the name of a local server from which to synchronize updates.

Namespace:   Microsoft.UpdateServices.Administration
Assembly:  Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)

Syntax

string UpstreamWsusServerName { get; set; }
property String^ UpstreamWsusServerName {
    String^ get();
    void set(String^ value);
}
abstract UpstreamWsusServerName : string with get, set
Property UpstreamWsusServerName As String

Property Value

Type: System.String

The name of the server from which to synchronize updates. You can specify a server name or an IP address.

Exceptions

Exception

Condition

ArgumentException

The server name is not valid.

ArgumentNullException

The property value cannot be null.

ArgumentOutOfRangeException

The name must be less than 256 characters.

Remarks

You must specify the server name when SyncFromMicrosoftUpdate is false.

See Also

IUpdateServerConfiguration Interface
Microsoft.UpdateServices.Administration Namespace

Return to top