Элементы LinkedServer

A LinkedServer object represents a database system other than SQL Server and is linked to the current instance of SQL Server by using an OLE DB driver.

Тип LinkedServer предоставляет доступ к следующим элементам.

Конструкторы

  Имя Описание
Открытый метод LinkedServer() () () () Initializes a new instance of the LinkedServer object.
Открытый метод LinkedServer(Server, String) Initializes a new instance of the LinkedServer object on the specified instance of SQL Server and with the specified name.

В начало

Методы

  Имя Описание
Защищенный метод AddDatabaseContext (Наследуется из SqlSmoObject.)
Открытый метод Alter Updates any LinkedServer object property changes on the instance of SQL Server.
Защищенный метод AlterImpl (Наследуется из SqlSmoObject.)
Защищенный метод AlterImplFinish (Наследуется из SqlSmoObject.)
Защищенный метод AlterImplInit (Наследуется из SqlSmoObject.)
Защищенный метод AlterImplWorker (Наследуется из SqlSmoObject.)
Защищенный метод BindDefaultImpl (Наследуется из SqlSmoObject.)
Защищенный метод BindRuleImpl (Наследуется из SqlSmoObject.)
Защищенный метод CheckCollation (Наследуется из SqlSmoObject.)
Защищенный метод CheckObjectState() () () () Validates the state of the referenced object. (Наследуется из SqlSmoObject.)
Защищенный метод CheckObjectState(Boolean) Validates the state of the referenced object with the option to specify that an exception is thrown if the object is not yet created. (Наследуется из SqlSmoObject.)
Защищенный метод CheckObjectStateImpl (Наследуется из SqlSmoObject.)
Защищенный метод CheckVersion100 (Наследуется из SqlSmoObject.)
Защищенный метод CheckVersion80 Checks the validity of the object on SQL Server 2000. (Наследуется из SqlSmoObject.)
Защищенный метод CheckVersion80SP3 Checks the validity of the object on SQL Server 2000 SP3. (Наследуется из SqlSmoObject.)
Защищенный метод CheckVersion90 Check the validity of the object on SQL Server 2005. (Наследуется из SqlSmoObject.)
Защищенный метод CheckVersionBelow90 (Наследуется из SqlSmoObject.)
Защищенный метод CleanObject (Наследуется из SqlSmoObject.)
Открытый метод Create Creates a linked server on the instance of SQL Server as defined by the LinkedServer object.
Защищенный метод CreateImpl (Наследуется из SqlSmoObject.)
Защищенный метод CreateImplFinish (Наследуется из SqlSmoObject.)
Защищенный метод CreateImplInit (Наследуется из SqlSmoObject.)
Открытый метод Discover (Наследуется из SqlSmoObject.)
Открытый метод Drop() () () () Removes the reference to the linked server from the instance of SQL Server.
Открытый метод Drop(Boolean) Removes the reference to the linked server from the instance of SQL Server.
Защищенный метод DropImpl (Наследуется из SqlSmoObject.)
Защищенный метод DropImplWorker (Наследуется из SqlSmoObject.)
Открытый метод EnumColumns() () () () Enumerates a list of columns that can be accessed on the linked server.
Открытый метод EnumColumns(String) Enumerates a list of columns that can be accessed on the linked server for a specified table.
Открытый метод EnumColumns(String, String) Enumerates a list of columns that can be accessed on the linked server for a specified table and schema.
Открытый метод EnumColumns(String, String, String) Enumerates a list of columns that can be accessed on the linked server for a specified table, schema, and database.
Открытый метод EnumColumns(String, String, String, String) Enumerates a list of columns that can be accessed on the linked server for a specified column.
Защищенный метод EnumScriptImpl (Наследуется из SqlSmoObject.)
Защищенный метод EnumScriptImplWorker (Наследуется из SqlSmoObject.)
Открытый метод EnumTables() () () () Enumerates a list of tables that are available on the linked server.
Открытый метод EnumTables(String) Enumerates a list of tables that are available on the linked server for a specified table name.
Открытый метод EnumTables(String, String) Enumerates a list of tables that are available on the linked server for a specified table name and schema.
Открытый метод EnumTables(String, String, String) Enumerates a list of tables that are available on the linked server for a specified table name, schema, and database.
Открытый метод EnumTables(String, String, String, LinkedTableType)
Открытый метод Equals (Наследуется из Object.)
Защищенный метод Finalize (Наследуется из Object.)
Защищенный метод FormatSqlVariant (Наследуется из SqlSmoObject.)
Защищенный метод GenerateDataSpaceFileStreamScript (Наследуется из SqlSmoObject.)
Защищенный метод GenerateDataSpaceScript (Наследуется из SqlSmoObject.)
Защищенный метод GetBindDefaultScript (Наследуется из SqlSmoObject.)
Защищенный метод GetBindRuleScript (Наследуется из SqlSmoObject.)
Защищенный метод GetBoolParameter(StringBuilder, ScriptingOptions, String, String, Int32%) (Наследуется из SqlSmoObject.)
Защищенный метод GetBoolParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean) (Наследуется из SqlSmoObject.)
Защищенный метод GetDateTimeParameter (Наследуется из SqlSmoObject.)
Защищенный метод GetDateTimeParameterAsInt (Наследуется из SqlSmoObject.)
Защищенный метод GetDBName Gets the database name that is associated with the object. (Наследуется из SqlSmoObject.)
Защищенный метод GetEnumParameter (Наследуется из SqlSmoObject.)
Защищенный метод GetFragOptionString (Наследуется из SqlSmoObject.)
Защищенный метод GetGuidParameter (Наследуется из SqlSmoObject.)
Открытый метод GetHashCode (Наследуется из Object.)
Защищенный метод GetParameter(StringBuilder, ScriptingOptions, String, String, Int32%) (Наследуется из SqlSmoObject.)
Защищенный метод GetParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean) (Наследуется из SqlSmoObject.)
Защищенный метод GetPropValue (Наследуется из SqlSmoObject.)
Защищенный метод GetPropValueOptional (Наследуется из SqlSmoObject.)
Защищенный метод GetPropValueOptionalAllowNull (Наследуется из SqlSmoObject.)
Защищенный метод GetRealValue (Наследуется из SqlSmoObject.)
Защищенный метод GetScriptingOptionsForCreate (Наследуется из SqlSmoObject.)
Защищенный метод GetServerName Gets the name of the instance of SQL Server with which the object is associated. (Наследуется из SqlSmoObject.)
Защищенный метод GetServerObject (Наследуется из SqlSmoObject.)
Защищенный метод GetSqlServerVersionName Gets the version name of the instance of SQL Server with which the object is associated. (Наследуется из SqlSmoObject.)
Защищенный метод GetStringParameter(StringBuilder, ScriptingOptions, String, String, Int32%) (Наследуется из SqlSmoObject.)
Защищенный метод GetStringParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean) (Наследуется из SqlSmoObject.)
Защищенный метод GetTimeSpanParameterAsInt (Наследуется из SqlSmoObject.)
Открытый метод GetType (Наследуется из Object.)
Защищенный метод GetUrnRecursive(StringBuilder) (Наследуется из SqlSmoObject.)
Защищенный метод GetUrnRecursive(StringBuilder, UrnIdOption) (Наследуется из SqlSmoObject.)
Защищенный метод ImplInitialize (Наследуется из SqlSmoObject.)
Открытый метод Initialize() () () () Initializes the object and forces the properties be loaded. (Наследуется из SqlSmoObject.)
Открытый метод Initialize(Boolean) Initializes the object and forces the properties be loaded. (Наследуется из SqlSmoObject.)
Защищенный метод IsObjectDirty Verifies whether the object properties have been modified and the changes have not yet been persisted on the instance of SQL Server. (Наследуется из SqlSmoObject.)
Защищенный метод IsObjectInitialized Verifies whether the object has been initialized. (Наследуется из SqlSmoObject.)
Защищенный метод IsObjectInSpace Verifies whether the object is isolated or connected to the instance of SQL Server. (Наследуется из SqlSmoObject.)
Защищенный метод IsVersion80SP3 (Наследуется из SqlSmoObject.)
Защищенный метод MarkDropped (Наследуется из SqlSmoObject.)
Защищенный метод MarkForDropImpl (Наследуется из SqlSmoObject.)
Защищенный метод MemberwiseClone (Наследуется из Object.)
Защищенный метод PostAlter (Наследуется из SqlSmoObject.)
Защищенный метод PostCreate (Наследуется из SqlSmoObject.)
Защищенный метод PostDrop (Наследуется из SqlSmoObject.)
Открытый метод Refresh Refreshes the object and retrieves properties when the object is next accessed. (Наследуется из SqlSmoObject.)
Защищенный метод RenameImpl This method supports the SMO infrastructure and is not intended to be used directly from your code. (Наследуется из NamedSmoObject.)
Защищенный метод RenameImplWorker This method supports the SMO infrastructure and is not intended to be used directly from your code. (Наследуется из NamedSmoObject.)
Открытый метод Script() () () () Generates a Transact-SQL script that can be used to re-create the linked server registration.
Открытый метод Script(ScriptingOptions) Generates a Transact-SQL script that can be used to re-create the linked server registration as specified by the script options.
Защищенный метод ScriptAlter (Наследуется из SqlSmoObject.)
Защищенный метод ScriptChangeOwner This method supports the SMO infrastructure and is not intended to be used directly from your code. (Наследуется из NamedSmoObject.)
Защищенный метод ScriptCreate (Наследуется из SqlSmoObject.)
Защищенный метод ScriptDdl (Наследуется из SqlSmoObject.)
Защищенный метод ScriptDrop (Наследуется из SqlSmoObject.)
Защищенный метод ScriptImpl() () () () (Наследуется из SqlSmoObject.)
Защищенный метод ScriptImpl(ScriptingOptions) (Наследуется из SqlSmoObject.)
Защищенный метод ScriptImplWorker (Наследуется из SqlSmoObject.)
Защищенный метод ScriptRename This method supports the SMO infrastructure and is not intended to be used directly from your code. (Наследуется из NamedSmoObject.)
Защищенный метод SetParentImpl (Наследуется из SqlSmoObject.)
Открытый метод TestConnection
Открытый метод ToString Returns a String that represents the referenced object. (Наследуется из SqlSmoObject.)
Защищенный метод TouchImpl (Наследуется из SqlSmoObject.)
Защищенный метод UnbindDefaultImpl (Наследуется из SqlSmoObject.)
Защищенный метод UnbindRuleImpl (Наследуется из SqlSmoObject.)
Открытый метод Validate (Наследуется из SmoObjectBase.)

В начало

Поля

  Имя Описание
Защищенное поле m_ExtendedProperties (Наследуется из SqlSmoObject.)

В начало

Свойства

  Имя Описание
Открытое свойство Catalog Gets or sets the database to be used when the linked server is made through a connection to an OLE DB provider. .
Открытое свойство CollationCompatible Gets or sets the Boolean property value that specifies whether the default collation of the linked server is compatible with the default collation on the local instance of SQL Server.
Открытое свойство CollationName Gets or sets the name of the collation to use when sorting data from the linked server.
Открытое свойство ConnectTimeout Gets or sets the number of seconds to wait for a connection to be established with the linked server before timing out.
Открытое свойство DataAccess Gets or sets the Boolean property value that specifies whether data can be accessed on the linked server.
Открытое свойство DataSource Gets or sets the data source to be used when the linked server is made through a connection to an OLE DB provider.
Открытое свойство DateLastModified Gets the date and time when the linked server was last modified.
Открытое свойство DistPublisher Gets or sets a Boolean property value that specifies whether the linked server is participating in replication as a distribution Publisher.
Открытое свойство Distributor Gets or sets a Boolean property value that specifies whether the linked server is participating in replication as a distribution Publisher.
Защищенное свойство ExecuteForScalar Gets or sets the Boolean property value that specifies whether the object is set to the execute for scalar option. (Наследуется из SqlSmoObject.)
Открытое свойство ID Gets the ID value that uniquely identifies the linked server.
Открытое свойство IsPromotionofDistributedTransactionsForRPCEnabled Gets or sets a Boolean property value that specifies whether the promotion of distributed transaction for RPC (remote procedure calls) is enabled.
Защищенное свойство IsTouched Gets the Boolean property value that specifies whether the object properties have been updated but not yet persisted on the server. (Наследуется из SqlSmoObject.)
Открытое свойство LazySchemaValidation Gets or sets the Boolean property value that specifies whether the schema used by the linked server data is validated when the local instance of SQL Server is idle or not.
Открытое свойство LinkedServerLogins Represents a collection of LinkedServerLogin objects. Each LinkedServerLogin object represents a linked server login defined on the linked server.
Открытое свойство Location Gets or sets the description of the location of the linked server.
Открытое свойство Name Gets or sets the name of the object. (Наследуется из NamedSmoObject.)
Защищенное свойство ObjectInSpace Gets the Boolean property value that specifies whether the object exists in isolation, or whether it is directly or indirectly connected to the instance of SQL Server. (Наследуется из SqlSmoObject.)
Открытое свойство Parent Gets or sets the Server object that is the parent of the LinkedServer object.
Открытое свойство ProductName Gets or sets the name of the product to which SQL Server can connect through the OLE DB Provider.
Открытое свойство Properties Gets a collection of Property objects that represent the object properties. (Наследуется из SqlSmoObject.)
Открытое свойство ProviderName Gets or sets the name of the OLE DB provider used to connect to the linked server.
Открытое свойство ProviderString Gets or sets the connection string used to connect to a linked server by way of the OLE DB Provider.
Открытое свойство Publisher Gets or sets a Boolean property value that specifies whether the linked server is a replication Publisher or not.
Открытое свойство QueryTimeout Gets or sets the time in seconds to wait for a query to execute before timing out.
Открытое свойство Rpc Gets or sets the Boolean property value that specifies whether the linked server supports remote procedure calls (RPCs).
Открытое свойство RpcOut The Boolean property value that specifies whether the linked server supports remote procedure calls (RPCs) with output parameters.
Защищенное свойство ScalarResult Gets the scalar result for the referenced object. (Наследуется из SqlSmoObject.)
Открытое свойство State Gets the state of the referenced object. (Наследуется из SmoObjectBase.)
Открытое свойство Subscriber Gets or sets the Boolean property value that specifies whether the linked server is a replication Subscriber.
Открытое свойство Urn Gets the Uniform Resource Name (URN) address value that uniquely identifies the object. (Наследуется из SqlSmoObject.)
Открытое свойство UserData Gets or sets user-defined data associated with the referenced object. (Наследуется из SmoObjectBase.)
Открытое свойство UseRemoteCollation Gets or sets the Boolean property value that specifies whether to use the collation that is associated with the data from the linked server.

В начало

События

  Имя Описание
Открытое событие PropertyChanged (Наследуется из SqlSmoObject.)
Открытое событие PropertyMetadataChanged (Наследуется из SqlSmoObject.)

В начало

Явные реализации интерфейса

  Имя Описание
Явная реализация интерфейсаЗакрытый метод IAlienObjectDiscover (Наследуется из SqlSmoObject.)
Явная реализация интерфейсаЗакрытый метод IAlienObjectGetParent (Наследуется из SqlSmoObject.)
Явная реализация интерфейсаЗакрытый метод IAlienObjectGetProperty (Наследуется из SqlSmoObject.)
Явная реализация интерфейсаЗакрытый метод ISfcPropertyProviderGetPropertySet (Наследуется из SqlSmoObject.)
Явная реализация интерфейсаЗакрытый метод IAlienObjectGetUrn (Наследуется из SqlSmoObject.)
Явная реализация интерфейсаЗакрытый метод IAlienObjectResolve (Наследуется из SqlSmoObject.)
Явная реализация интерфейсаЗакрытый метод IAlienObjectSetProperty (Наследуется из SqlSmoObject.)

В начало