Service.Type 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取服务类型,例如 Microsoft Search 服务、SQL Server 代理服务或 SQL Server 服务。
public:
property Microsoft::SqlServer::Management::Smo::Wmi::ManagedServiceType Type { Microsoft::SqlServer::Management::Smo::Wmi::ManagedServiceType get(); };
public Microsoft.SqlServer.Management.Smo.Wmi.ManagedServiceType Type { get; }
member this.Type : Microsoft.SqlServer.Management.Smo.Wmi.ManagedServiceType
Public ReadOnly Property Type As ManagedServiceType
属性值
- Microsoft.SqlServer.Management.Smo.Wmi.ManagedServiceType
一个 Microsoft.SqlServer.Management.Smo.Wmi.ManagedServiceType 对象,该对象指定 SQL Server 服务的类型。