PolicyExtender.RootName 속성

Gets the name of the root level of the ObjectSet.

네임스페이스:  Microsoft.SqlServer.Management.Dmf
어셈블리:  Microsoft.SqlServer.Dmf(Microsoft.SqlServer.Dmf.dll)


<ExtendedPropertyAttribute("Condition")> _
Public ReadOnly Property RootName As String 
‘사용 방법
Dim instance As PolicyExtender 
Dim value As String 

value = instance.RootName
public string RootName { get; }
property String^ RootName {
    String^ get ();
member RootName : string
function get RootName () : String

속성 값

유형: System.String
A string value that contains the name of the root level of the ObjectSet.


The name of the root level of the ObjectSet is used to infer the domain the policy applies to. It points to the root type of the hierarchy where objects come from. For example, regular SQL Server policies work with SMO objects. Their paths start with server, such as, Server/Database[@Name='msdb']. "Server" is the root name. It indicates a SqlServer relational domain. A utility object would have a different path, such as, Utility/Server[@Name='myserver']/Database[@Name='msdb']. In this case, "Utility" is the root name.

참고 항목


PolicyExtender 클래스

Microsoft.SqlServer.Management.Dmf 네임스페이스