Поделиться через


Интерфейс IMultipartNameFacet

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

Этот API-интерфейс несовместим с CLS. 

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
<StateChangeEventAttribute("RENAME", "FUNCTION")> _
<StateChangeEventAttribute("ALTER_SCHEMA", "SEQUENCE")> _
<StateChangeEventAttribute("ALTER_SCHEMA", "TYPE")> _
<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.None Or AutomatedPolicyEvaluationMode.Enforce Or AutomatedPolicyEvaluationMode.CheckOnChanges Or AutomatedPolicyEvaluationMode.CheckOnSchedule)> _
<StateChangeEventAttribute("ALTER_SCHEMA", "FUNCTION")> _
<StateChangeEventAttribute("ALTER_SCHEMA", "VIEW")> _
<StateChangeEventAttribute("CREATE_TYPE", "TYPE")> _
<CLSCompliantAttribute(False)> _
<StateChangeEventAttribute("CREATE_TABLE", "TABLE")> _
<StateChangeEventAttribute("ALTER_TABLE", "TABLE")> _
<StateChangeEventAttribute("RENAME", "TABLE")> _
<StateChangeEventAttribute("CREATE_VIEW", "VIEW")> _
<StateChangeEventAttribute("ALTER_VIEW", "VIEW")> _
<StateChangeEventAttribute("RENAME", "VIEW")> _
<StateChangeEventAttribute("CREATE_FUNCTION", "FUNCTION")> _
<StateChangeEventAttribute("ALTER_FUNCTION", "FUNCTION")> _
<StateChangeEventAttribute("CREATE_PROCEDURE", "PROCEDURE")> _
<StateChangeEventAttribute("ALTER_PROCEDURE", "PROCEDURE")> _
<StateChangeEventAttribute("RENAME", "PROCEDURE")> _
<StateChangeEventAttribute("CREATE_SYNONYM", "SYNONYM")> _
<StateChangeEventAttribute("CREATE_SEQUENCE", "SEQUENCE")> _
<StateChangeEventAttribute("ALTER_SEQUENCE", "SEQUENCE")> _
<StateChangeEventAttribute("RENAME", "SEQUENCE")> _
<StateChangeEventAttribute("ALTER_SCHEMA", "XMLSCHEMACOLLECTION")> _
<DisplayDescriptionKeyAttribute("MultipartNameDesc")> _
<StateChangeEventAttribute("CREATE_XML_SCHEMA_COLLECTION", "XMLSCHEMACOLLECTION")> _
<StateChangeEventAttribute("ALTER_XML_SCHEMA_COLLECTION", "XMLSCHEMACOLLECTION")> _
<StateChangeEventAttribute("RENAME", "XMLSCHEMACOLLECTION")> _
<StateChangeEventAttribute("ALTER_SCHEMA", "TABLE")> _
<StateChangeEventAttribute("ALTER_SCHEMA", "PROCEDURE")> _
<StateChangeEventAttribute("ALTER_SCHEMA", "SYNONYM")> _
<StateChangeEventAttribute("RENAME", "TYPE")> _
<TypeConverterAttribute(GetType(LocalizableTypeConverter))> _
<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.FacetSR")> _
<DisplayNameKeyAttribute("MultipartNameName")> _
Public Interface IMultipartNameFacet _
    Inherits IDmfFacet
'Применение
Dim instance As IMultipartNameFacet
[StateChangeEventAttribute("RENAME", "FUNCTION")]
[StateChangeEventAttribute("ALTER_SCHEMA", "SEQUENCE")]
[StateChangeEventAttribute("ALTER_SCHEMA", "TYPE")]
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode.None|AutomatedPolicyEvaluationMode.Enforce|AutomatedPolicyEvaluationMode.CheckOnChanges|AutomatedPolicyEvaluationMode.CheckOnSchedule)]
[StateChangeEventAttribute("ALTER_SCHEMA", "FUNCTION")]
[StateChangeEventAttribute("ALTER_SCHEMA", "VIEW")]
[StateChangeEventAttribute("CREATE_TYPE", "TYPE")]
[CLSCompliantAttribute(false)]
[StateChangeEventAttribute("CREATE_TABLE", "TABLE")]
[StateChangeEventAttribute("ALTER_TABLE", "TABLE")]
[StateChangeEventAttribute("RENAME", "TABLE")]
[StateChangeEventAttribute("CREATE_VIEW", "VIEW")]
[StateChangeEventAttribute("ALTER_VIEW", "VIEW")]
[StateChangeEventAttribute("RENAME", "VIEW")]
[StateChangeEventAttribute("CREATE_FUNCTION", "FUNCTION")]
[StateChangeEventAttribute("ALTER_FUNCTION", "FUNCTION")]
[StateChangeEventAttribute("CREATE_PROCEDURE", "PROCEDURE")]
[StateChangeEventAttribute("ALTER_PROCEDURE", "PROCEDURE")]
[StateChangeEventAttribute("RENAME", "PROCEDURE")]
[StateChangeEventAttribute("CREATE_SYNONYM", "SYNONYM")]
[StateChangeEventAttribute("CREATE_SEQUENCE", "SEQUENCE")]
[StateChangeEventAttribute("ALTER_SEQUENCE", "SEQUENCE")]
[StateChangeEventAttribute("RENAME", "SEQUENCE")]
[StateChangeEventAttribute("ALTER_SCHEMA", "XMLSCHEMACOLLECTION")]
[DisplayDescriptionKeyAttribute("MultipartNameDesc")]
[StateChangeEventAttribute("CREATE_XML_SCHEMA_COLLECTION", "XMLSCHEMACOLLECTION")]
[StateChangeEventAttribute("ALTER_XML_SCHEMA_COLLECTION", "XMLSCHEMACOLLECTION")]
[StateChangeEventAttribute("RENAME", "XMLSCHEMACOLLECTION")]
[StateChangeEventAttribute("ALTER_SCHEMA", "TABLE")]
[StateChangeEventAttribute("ALTER_SCHEMA", "PROCEDURE")]
[StateChangeEventAttribute("ALTER_SCHEMA", "SYNONYM")]
[StateChangeEventAttribute("RENAME", "TYPE")]
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
[LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.FacetSR")]
[DisplayNameKeyAttribute("MultipartNameName")]
public interface IMultipartNameFacet : IDmfFacet
[StateChangeEventAttribute(L"RENAME", L"FUNCTION")]
[StateChangeEventAttribute(L"ALTER_SCHEMA", L"SEQUENCE")]
[StateChangeEventAttribute(L"ALTER_SCHEMA", L"TYPE")]
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode::None|AutomatedPolicyEvaluationMode::Enforce|AutomatedPolicyEvaluationMode::CheckOnChanges|AutomatedPolicyEvaluationMode::CheckOnSchedule)]
[StateChangeEventAttribute(L"ALTER_SCHEMA", L"FUNCTION")]
[StateChangeEventAttribute(L"ALTER_SCHEMA", L"VIEW")]
[StateChangeEventAttribute(L"CREATE_TYPE", L"TYPE")]
[CLSCompliantAttribute(false)]
[StateChangeEventAttribute(L"CREATE_TABLE", L"TABLE")]
[StateChangeEventAttribute(L"ALTER_TABLE", L"TABLE")]
[StateChangeEventAttribute(L"RENAME", L"TABLE")]
[StateChangeEventAttribute(L"CREATE_VIEW", L"VIEW")]
[StateChangeEventAttribute(L"ALTER_VIEW", L"VIEW")]
[StateChangeEventAttribute(L"RENAME", L"VIEW")]
[StateChangeEventAttribute(L"CREATE_FUNCTION", L"FUNCTION")]
[StateChangeEventAttribute(L"ALTER_FUNCTION", 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_SEQUENCE", L"SEQUENCE")]
[StateChangeEventAttribute(L"ALTER_SEQUENCE", L"SEQUENCE")]
[StateChangeEventAttribute(L"RENAME", L"SEQUENCE")]
[StateChangeEventAttribute(L"ALTER_SCHEMA", L"XMLSCHEMACOLLECTION")]
[DisplayDescriptionKeyAttribute(L"MultipartNameDesc")]
[StateChangeEventAttribute(L"CREATE_XML_SCHEMA_COLLECTION", L"XMLSCHEMACOLLECTION")]
[StateChangeEventAttribute(L"ALTER_XML_SCHEMA_COLLECTION", L"XMLSCHEMACOLLECTION")]
[StateChangeEventAttribute(L"RENAME", L"XMLSCHEMACOLLECTION")]
[StateChangeEventAttribute(L"ALTER_SCHEMA", L"TABLE")]
[StateChangeEventAttribute(L"ALTER_SCHEMA", L"PROCEDURE")]
[StateChangeEventAttribute(L"ALTER_SCHEMA", L"SYNONYM")]
[StateChangeEventAttribute(L"RENAME", L"TYPE")]
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
[LocalizedPropertyResourcesAttribute(L"Microsoft.SqlServer.Management.Smo.FacetSR")]
[DisplayNameKeyAttribute(L"MultipartNameName")]
public interface class IMultipartNameFacet : IDmfFacet
[<StateChangeEventAttribute("RENAME", "FUNCTION")>]
[<StateChangeEventAttribute("ALTER_SCHEMA", "SEQUENCE")>]
[<StateChangeEventAttribute("ALTER_SCHEMA", "TYPE")>]
[<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.None|AutomatedPolicyEvaluationMode.Enforce|AutomatedPolicyEvaluationMode.CheckOnChanges|AutomatedPolicyEvaluationMode.CheckOnSchedule)>]
[<StateChangeEventAttribute("ALTER_SCHEMA", "FUNCTION")>]
[<StateChangeEventAttribute("ALTER_SCHEMA", "VIEW")>]
[<StateChangeEventAttribute("CREATE_TYPE", "TYPE")>]
[<CLSCompliantAttribute(false)>]
[<StateChangeEventAttribute("CREATE_TABLE", "TABLE")>]
[<StateChangeEventAttribute("ALTER_TABLE", "TABLE")>]
[<StateChangeEventAttribute("RENAME", "TABLE")>]
[<StateChangeEventAttribute("CREATE_VIEW", "VIEW")>]
[<StateChangeEventAttribute("ALTER_VIEW", "VIEW")>]
[<StateChangeEventAttribute("RENAME", "VIEW")>]
[<StateChangeEventAttribute("CREATE_FUNCTION", "FUNCTION")>]
[<StateChangeEventAttribute("ALTER_FUNCTION", "FUNCTION")>]
[<StateChangeEventAttribute("CREATE_PROCEDURE", "PROCEDURE")>]
[<StateChangeEventAttribute("ALTER_PROCEDURE", "PROCEDURE")>]
[<StateChangeEventAttribute("RENAME", "PROCEDURE")>]
[<StateChangeEventAttribute("CREATE_SYNONYM", "SYNONYM")>]
[<StateChangeEventAttribute("CREATE_SEQUENCE", "SEQUENCE")>]
[<StateChangeEventAttribute("ALTER_SEQUENCE", "SEQUENCE")>]
[<StateChangeEventAttribute("RENAME", "SEQUENCE")>]
[<StateChangeEventAttribute("ALTER_SCHEMA", "XMLSCHEMACOLLECTION")>]
[<DisplayDescriptionKeyAttribute("MultipartNameDesc")>]
[<StateChangeEventAttribute("CREATE_XML_SCHEMA_COLLECTION", "XMLSCHEMACOLLECTION")>]
[<StateChangeEventAttribute("ALTER_XML_SCHEMA_COLLECTION", "XMLSCHEMACOLLECTION")>]
[<StateChangeEventAttribute("RENAME", "XMLSCHEMACOLLECTION")>]
[<StateChangeEventAttribute("ALTER_SCHEMA", "TABLE")>]
[<StateChangeEventAttribute("ALTER_SCHEMA", "PROCEDURE")>]
[<StateChangeEventAttribute("ALTER_SCHEMA", "SYNONYM")>]
[<StateChangeEventAttribute("RENAME", "TYPE")>]
[<TypeConverterAttribute(typeof(LocalizableTypeConverter))>]
[<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.FacetSR")>]
[<DisplayNameKeyAttribute("MultipartNameName")>]
type IMultipartNameFacet =  
    interface 
        interface IDmfFacet 
    end
public interface IMultipartNameFacet extends IDmfFacet

Тип IMultipartNameFacet обеспечивает доступ к следующим элементам.

Свойства

  Имя Описание
Открытое свойство Name Gets the name portion of a multipart name.
Открытое свойство Schema Gets the schema portion of a Multipart Name.

В начало

См. также

Справочник

Пространство имен Microsoft.SqlServer.Management.Smo