Compartir a través de


PolicyExtender.RootName Propiedad

Gets the name of the root level of the ObjectSet.

Espacio de nombres:  Microsoft.SqlServer.Management.Dmf
Ensamblado:  Microsoft.SqlServer.Dmf (en Microsoft.SqlServer.Dmf.dll)

Sintaxis

'Declaración
<ExtendedPropertyAttribute("Condition")> _
Public ReadOnly Property RootName As String 
    Get
'Uso
Dim instance As PolicyExtender 
Dim value As String 

value = instance.RootName
[ExtendedPropertyAttribute("Condition")]
public string RootName { get; }
[ExtendedPropertyAttribute(L"Condition")]
public:
property String^ RootName {
    String^ get ();
}
[<ExtendedPropertyAttribute("Condition")>]
member RootName : string
function get RootName () : String

Valor de la propiedad

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

Comentarios

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.

Vea también

Referencia

PolicyExtender Clase

Espacio de nombres Microsoft.SqlServer.Management.Dmf