Condividi tramite


Interfaccia IMultipartNameFacet

Interface to deal with object names containing both the object and the schema.

Questa API non è conforme a CLS. 

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
<StateChangeEventAttribute("ALTER_VIEW", "VIEW")> _
<StateChangeEventAttribute("ALTER_XML_SCHEMA_COLLECTION", "XMLSCHEMACOLLECTION")> _
<StateChangeEventAttribute("ALTER_SCHEMA", "PROCEDURE")> _
<StateChangeEventAttribute("ALTER_SCHEMA", "TABLE")> _
<StateChangeEventAttribute("CREATE_TABLE", "TABLE")> _
<DisplayDescriptionKeyAttribute("MultipartNameDesc")> _
<StateChangeEventAttribute("RENAME", "TABLE")> _
<StateChangeEventAttribute("CREATE_VIEW", "VIEW")> _
<StateChangeEventAttribute("RENAME", "VIEW")> _
<StateChangeEventAttribute("CREATE_FUNCTION", "FUNCTION")> _
<StateChangeEventAttribute("ALTER_FUNCTION", "FUNCTION")> _
<StateChangeEventAttribute("RENAME", "FUNCTION")> _
<StateChangeEventAttribute("CREATE_PROCEDURE", "PROCEDURE")> _
<StateChangeEventAttribute("ALTER_PROCEDURE", "PROCEDURE")> _
<StateChangeEventAttribute("RENAME", "PROCEDURE")> _
<StateChangeEventAttribute("CREATE_SYNONYM", "SYNONYM")> _
<StateChangeEventAttribute("CREATE_TYPE", "TYPE")> _
<StateChangeEventAttribute("RENAME", "TYPE")> _
<StateChangeEventAttribute("CREATE_XML_SCHEMA_COLLECTION", "XMLSCHEMACOLLECTION")> _
<StateChangeEventAttribute("RENAME", "XMLSCHEMACOLLECTION")> _
<StateChangeEventAttribute("ALTER_TABLE", "TABLE")> _
<StateChangeEventAttribute("ALTER_SCHEMA", "VIEW")> _
<StateChangeEventAttribute("ALTER_SCHEMA", "FUNCTION")> _
<CLSCompliantAttribute(False)> _
<StateChangeEventAttribute("ALTER_SCHEMA", "SYNONYM")> _
<StateChangeEventAttribute("ALTER_SCHEMA", "TYPE")> _
<StateChangeEventAttribute("ALTER_SCHEMA", "XMLSCHEMACOLLECTION")> _
<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.None Or AutomatedPolicyEvaluationMode.Enforce Or AutomatedPolicyEvaluationMode.CheckOnChanges Or AutomatedPolicyEvaluationMode.CheckOnSchedule)> _
<TypeConverterAttribute(GetType(LocalizableTypeConverter))> _
<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.FacetSR")> _
<DisplayNameKeyAttribute("MultipartNameName")> _
Public Interface IMultipartNameFacet _
    Inherits IDmfFacet
'Utilizzo
Dim instance As IMultipartNameFacet
[StateChangeEventAttribute("ALTER_VIEW", "VIEW")]
[StateChangeEventAttribute("ALTER_XML_SCHEMA_COLLECTION", "XMLSCHEMACOLLECTION")]
[StateChangeEventAttribute("ALTER_SCHEMA", "PROCEDURE")]
[StateChangeEventAttribute("ALTER_SCHEMA", "TABLE")]
[StateChangeEventAttribute("CREATE_TABLE", "TABLE")]
[DisplayDescriptionKeyAttribute("MultipartNameDesc")]
[StateChangeEventAttribute("RENAME", "TABLE")]
[StateChangeEventAttribute("CREATE_VIEW", "VIEW")]
[StateChangeEventAttribute("RENAME", "VIEW")]
[StateChangeEventAttribute("CREATE_FUNCTION", "FUNCTION")]
[StateChangeEventAttribute("ALTER_FUNCTION", "FUNCTION")]
[StateChangeEventAttribute("RENAME", "FUNCTION")]
[StateChangeEventAttribute("CREATE_PROCEDURE", "PROCEDURE")]
[StateChangeEventAttribute("ALTER_PROCEDURE", "PROCEDURE")]
[StateChangeEventAttribute("RENAME", "PROCEDURE")]
[StateChangeEventAttribute("CREATE_SYNONYM", "SYNONYM")]
[StateChangeEventAttribute("CREATE_TYPE", "TYPE")]
[StateChangeEventAttribute("RENAME", "TYPE")]
[StateChangeEventAttribute("CREATE_XML_SCHEMA_COLLECTION", "XMLSCHEMACOLLECTION")]
[StateChangeEventAttribute("RENAME", "XMLSCHEMACOLLECTION")]
[StateChangeEventAttribute("ALTER_TABLE", "TABLE")]
[StateChangeEventAttribute("ALTER_SCHEMA", "VIEW")]
[StateChangeEventAttribute("ALTER_SCHEMA", "FUNCTION")]
[CLSCompliantAttribute(false)]
[StateChangeEventAttribute("ALTER_SCHEMA", "SYNONYM")]
[StateChangeEventAttribute("ALTER_SCHEMA", "TYPE")]
[StateChangeEventAttribute("ALTER_SCHEMA", "XMLSCHEMACOLLECTION")]
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode.None|AutomatedPolicyEvaluationMode.Enforce|AutomatedPolicyEvaluationMode.CheckOnChanges|AutomatedPolicyEvaluationMode.CheckOnSchedule)]
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
[LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.FacetSR")]
[DisplayNameKeyAttribute("MultipartNameName")]
public interface IMultipartNameFacet : IDmfFacet
[StateChangeEventAttribute(L"ALTER_VIEW", L"VIEW")]
[StateChangeEventAttribute(L"ALTER_XML_SCHEMA_COLLECTION", L"XMLSCHEMACOLLECTION")]
[StateChangeEventAttribute(L"ALTER_SCHEMA", L"PROCEDURE")]
[StateChangeEventAttribute(L"ALTER_SCHEMA", L"TABLE")]
[StateChangeEventAttribute(L"CREATE_TABLE", L"TABLE")]
[DisplayDescriptionKeyAttribute(L"MultipartNameDesc")]
[StateChangeEventAttribute(L"RENAME", L"TABLE")]
[StateChangeEventAttribute(L"CREATE_VIEW", L"VIEW")]
[StateChangeEventAttribute(L"RENAME", L"VIEW")]
[StateChangeEventAttribute(L"CREATE_FUNCTION", L"FUNCTION")]
[StateChangeEventAttribute(L"ALTER_FUNCTION", L"FUNCTION")]
[StateChangeEventAttribute(L"RENAME", L"FUNCTION")]
[StateChangeEventAttribute(L"CREATE_PROCEDURE", L"PROCEDURE")]
[StateChangeEventAttribute(L"ALTER_PROCEDURE", L"PROCEDURE")]
[StateChangeEventAttribute(L"RENAME", L"PROCEDURE")]
[StateChangeEventAttribute(L"CREATE_SYNONYM", L"SYNONYM")]
[StateChangeEventAttribute(L"CREATE_TYPE", L"TYPE")]
[StateChangeEventAttribute(L"RENAME", L"TYPE")]
[StateChangeEventAttribute(L"CREATE_XML_SCHEMA_COLLECTION", L"XMLSCHEMACOLLECTION")]
[StateChangeEventAttribute(L"RENAME", L"XMLSCHEMACOLLECTION")]
[StateChangeEventAttribute(L"ALTER_TABLE", L"TABLE")]
[StateChangeEventAttribute(L"ALTER_SCHEMA", L"VIEW")]
[StateChangeEventAttribute(L"ALTER_SCHEMA", L"FUNCTION")]
[CLSCompliantAttribute(false)]
[StateChangeEventAttribute(L"ALTER_SCHEMA", L"SYNONYM")]
[StateChangeEventAttribute(L"ALTER_SCHEMA", L"TYPE")]
[StateChangeEventAttribute(L"ALTER_SCHEMA", L"XMLSCHEMACOLLECTION")]
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode::None|AutomatedPolicyEvaluationMode::Enforce|AutomatedPolicyEvaluationMode::CheckOnChanges|AutomatedPolicyEvaluationMode::CheckOnSchedule)]
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
[LocalizedPropertyResourcesAttribute(L"Microsoft.SqlServer.Management.Smo.FacetSR")]
[DisplayNameKeyAttribute(L"MultipartNameName")]
public interface class IMultipartNameFacet : IDmfFacet
[<StateChangeEventAttribute("ALTER_VIEW", "VIEW")>]
[<StateChangeEventAttribute("ALTER_XML_SCHEMA_COLLECTION", "XMLSCHEMACOLLECTION")>]
[<StateChangeEventAttribute("ALTER_SCHEMA", "PROCEDURE")>]
[<StateChangeEventAttribute("ALTER_SCHEMA", "TABLE")>]
[<StateChangeEventAttribute("CREATE_TABLE", "TABLE")>]
[<DisplayDescriptionKeyAttribute("MultipartNameDesc")>]
[<StateChangeEventAttribute("RENAME", "TABLE")>]
[<StateChangeEventAttribute("CREATE_VIEW", "VIEW")>]
[<StateChangeEventAttribute("RENAME", "VIEW")>]
[<StateChangeEventAttribute("CREATE_FUNCTION", "FUNCTION")>]
[<StateChangeEventAttribute("ALTER_FUNCTION", "FUNCTION")>]
[<StateChangeEventAttribute("RENAME", "FUNCTION")>]
[<StateChangeEventAttribute("CREATE_PROCEDURE", "PROCEDURE")>]
[<StateChangeEventAttribute("ALTER_PROCEDURE", "PROCEDURE")>]
[<StateChangeEventAttribute("RENAME", "PROCEDURE")>]
[<StateChangeEventAttribute("CREATE_SYNONYM", "SYNONYM")>]
[<StateChangeEventAttribute("CREATE_TYPE", "TYPE")>]
[<StateChangeEventAttribute("RENAME", "TYPE")>]
[<StateChangeEventAttribute("CREATE_XML_SCHEMA_COLLECTION", "XMLSCHEMACOLLECTION")>]
[<StateChangeEventAttribute("RENAME", "XMLSCHEMACOLLECTION")>]
[<StateChangeEventAttribute("ALTER_TABLE", "TABLE")>]
[<StateChangeEventAttribute("ALTER_SCHEMA", "VIEW")>]
[<StateChangeEventAttribute("ALTER_SCHEMA", "FUNCTION")>]
[<CLSCompliantAttribute(false)>]
[<StateChangeEventAttribute("ALTER_SCHEMA", "SYNONYM")>]
[<StateChangeEventAttribute("ALTER_SCHEMA", "TYPE")>]
[<StateChangeEventAttribute("ALTER_SCHEMA", "XMLSCHEMACOLLECTION")>]
[<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.None|AutomatedPolicyEvaluationMode.Enforce|AutomatedPolicyEvaluationMode.CheckOnChanges|AutomatedPolicyEvaluationMode.CheckOnSchedule)>]
[<TypeConverterAttribute(typeof(LocalizableTypeConverter))>]
[<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.FacetSR")>]
[<DisplayNameKeyAttribute("MultipartNameName")>]
type IMultipartNameFacet =  
    interface
        interface IDmfFacet
    end
public interface IMultipartNameFacet extends IDmfFacet

Nel tipo IMultipartNameFacet sono esposti i membri seguenti.

Proprietà

  Nome Descrizione
Proprietà pubblica Name Gets name portion of a Multipart name.
Proprietà pubblica Schema Gets the schema portion of a Multipart Name.

In alto