共用方式為


ServerGroupBase.GetSmoObject(Urn) Method

Definition

Gets a RegSvrSmoObject that is specified by a URN.

public:
 Microsoft::SqlServer::Management::Smo::RegisteredServers::RegSvrSmoObject ^ GetSmoObject(Microsoft::SqlServer::Management::Sdk::Sfc::Urn ^ urn);
public Microsoft.SqlServer.Management.Smo.RegisteredServers.RegSvrSmoObject GetSmoObject (Microsoft.SqlServer.Management.Sdk.Sfc.Urn urn);
member this.GetSmoObject : Microsoft.SqlServer.Management.Sdk.Sfc.Urn -> Microsoft.SqlServer.Management.Smo.RegisteredServers.RegSvrSmoObject
Public Function GetSmoObject (urn As Urn) As RegSvrSmoObject

Parameters

urn
Urn

A Microsoft.SqlServer.Management.Sdk.Sfc.Urn that identifies the object to get.

Returns

The RegSvrSmoObject that is specified by a URN.

Applies to