LinkedServer-Member
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.
Der LinkedServer-Typ macht die folgenden Member verfügbar.
Konstruktoren
Name | Beschreibung | |
---|---|---|
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. |
Zum Anfang
Methoden
Name | Beschreibung | |
---|---|---|
AddDatabaseContext | (Geerbt von SqlSmoObject.) | |
Alter | Updates any LinkedServer object property changes on the instance of SQL Server. | |
AlterImpl | (Geerbt von SqlSmoObject.) | |
AlterImplFinish | (Geerbt von SqlSmoObject.) | |
AlterImplInit | (Geerbt von SqlSmoObject.) | |
AlterImplWorker | (Geerbt von SqlSmoObject.) | |
BindDefaultImpl | (Geerbt von SqlSmoObject.) | |
BindRuleImpl | (Geerbt von SqlSmoObject.) | |
CheckCollation | (Geerbt von SqlSmoObject.) | |
CheckObjectState() () () () | Validates the state of the referenced object. (Geerbt von 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. (Geerbt von SqlSmoObject.) | |
CheckObjectStateImpl | (Geerbt von SqlSmoObject.) | |
CheckVersion100 | (Geerbt von SqlSmoObject.) | |
CheckVersion80 | Checks the validity of the object on SQL Server 2000. (Geerbt von SqlSmoObject.) | |
CheckVersion80SP3 | Checks the validity of the object on SQL Server 2000 SP3. (Geerbt von SqlSmoObject.) | |
CheckVersion90 | Check the validity of the object on SQL Server 2005. (Geerbt von SqlSmoObject.) | |
CheckVersionBelow90 | (Geerbt von SqlSmoObject.) | |
CleanObject | (Geerbt von SqlSmoObject.) | |
Create | Creates a linked server on the instance of SQL Server as defined by the LinkedServer object. | |
CreateImpl | (Geerbt von SqlSmoObject.) | |
CreateImplFinish | (Geerbt von SqlSmoObject.) | |
CreateImplInit | (Geerbt von SqlSmoObject.) | |
Discover | (Geerbt von 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 | (Geerbt von SqlSmoObject.) | |
DropImplWorker | (Geerbt von 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 | (Geerbt von SqlSmoObject.) | |
EnumScriptImplWorker | (Geerbt von 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 | (Geerbt von Object.) | |
Finalize | (Geerbt von Object.) | |
FormatSqlVariant | (Geerbt von SqlSmoObject.) | |
GenerateDataSpaceFileStreamScript | (Geerbt von SqlSmoObject.) | |
GenerateDataSpaceScript | (Geerbt von SqlSmoObject.) | |
GetBindDefaultScript | (Geerbt von SqlSmoObject.) | |
GetBindRuleScript | (Geerbt von SqlSmoObject.) | |
GetBoolParameter(StringBuilder, ScriptingOptions, String, String, Int32%) | (Geerbt von SqlSmoObject.) | |
GetBoolParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean) | (Geerbt von SqlSmoObject.) | |
GetDateTimeParameter | (Geerbt von SqlSmoObject.) | |
GetDateTimeParameterAsInt | (Geerbt von SqlSmoObject.) | |
GetDBName | Gets the database name that is associated with the object. (Geerbt von SqlSmoObject.) | |
GetEnumParameter | (Geerbt von SqlSmoObject.) | |
GetFragOptionString | (Geerbt von SqlSmoObject.) | |
GetGuidParameter | (Geerbt von SqlSmoObject.) | |
GetHashCode | (Geerbt von Object.) | |
GetParameter(StringBuilder, ScriptingOptions, String, String, Int32%) | (Geerbt von SqlSmoObject.) | |
GetParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean) | (Geerbt von SqlSmoObject.) | |
GetPropValue | (Geerbt von SqlSmoObject.) | |
GetPropValueOptional | (Geerbt von SqlSmoObject.) | |
GetPropValueOptionalAllowNull | (Geerbt von SqlSmoObject.) | |
GetRealValue | (Geerbt von SqlSmoObject.) | |
GetScriptingOptionsForCreate | (Geerbt von SqlSmoObject.) | |
GetServerName | Gets the name of the instance of SQL Server with which the object is associated. (Geerbt von SqlSmoObject.) | |
GetServerObject | (Geerbt von SqlSmoObject.) | |
GetSqlServerVersionName | Gets the version name of the instance of SQL Server with which the object is associated. (Geerbt von SqlSmoObject.) | |
GetStringParameter(StringBuilder, ScriptingOptions, String, String, Int32%) | (Geerbt von SqlSmoObject.) | |
GetStringParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean) | (Geerbt von SqlSmoObject.) | |
GetTimeSpanParameterAsInt | (Geerbt von SqlSmoObject.) | |
GetType | (Geerbt von Object.) | |
GetUrnRecursive(StringBuilder) | (Geerbt von SqlSmoObject.) | |
GetUrnRecursive(StringBuilder, UrnIdOption) | (Geerbt von SqlSmoObject.) | |
ImplInitialize | (Geerbt von SqlSmoObject.) | |
Initialize() () () () | Initializes the object and forces the properties be loaded. (Geerbt von SqlSmoObject.) | |
Initialize(Boolean) | Initializes the object and forces the properties be loaded. (Geerbt von SqlSmoObject.) | |
IsObjectDirty | Verifies whether the object properties have been modified and the changes have not yet been persisted on the instance of SQL Server. (Geerbt von SqlSmoObject.) | |
IsObjectInitialized | Verifies whether the object has been initialized. (Geerbt von SqlSmoObject.) | |
IsObjectInSpace | Verifies whether the object is isolated or connected to the instance of SQL Server. (Geerbt von SqlSmoObject.) | |
IsVersion80SP3 | (Geerbt von SqlSmoObject.) | |
MarkDropped | (Geerbt von SqlSmoObject.) | |
MarkForDropImpl | (Geerbt von SqlSmoObject.) | |
MemberwiseClone | (Geerbt von Object.) | |
PostAlter | (Geerbt von SqlSmoObject.) | |
PostCreate | (Geerbt von SqlSmoObject.) | |
PostDrop | (Geerbt von SqlSmoObject.) | |
Refresh | Refreshes the object and retrieves properties when the object is next accessed. (Geerbt von SqlSmoObject.) | |
RenameImpl | This method supports the SMO infrastructure and is not intended to be used directly from your code. (Geerbt von NamedSmoObject.) | |
RenameImplWorker | This method supports the SMO infrastructure and is not intended to be used directly from your code. (Geerbt von 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 | (Geerbt von SqlSmoObject.) | |
ScriptChangeOwner | This method supports the SMO infrastructure and is not intended to be used directly from your code. (Geerbt von NamedSmoObject.) | |
ScriptCreate | (Geerbt von SqlSmoObject.) | |
ScriptDdl | (Geerbt von SqlSmoObject.) | |
ScriptDrop | (Geerbt von SqlSmoObject.) | |
ScriptImpl() () () () | (Geerbt von SqlSmoObject.) | |
ScriptImpl(ScriptingOptions) | (Geerbt von SqlSmoObject.) | |
ScriptImplWorker | (Geerbt von SqlSmoObject.) | |
ScriptRename | This method supports the SMO infrastructure and is not intended to be used directly from your code. (Geerbt von NamedSmoObject.) | |
SetParentImpl | (Geerbt von SqlSmoObject.) | |
TestConnection | ||
ToString | Returns a String that represents the referenced object. (Geerbt von SqlSmoObject.) | |
TouchImpl | (Geerbt von SqlSmoObject.) | |
UnbindDefaultImpl | (Geerbt von SqlSmoObject.) | |
UnbindRuleImpl | (Geerbt von SqlSmoObject.) | |
Validate | (Geerbt von SmoObjectBase.) |
Zum Anfang
Eigenschaften
Name | Beschreibung | |
---|---|---|
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. (Geerbt von 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. (Geerbt von 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. (Geerbt von 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. (Geerbt von 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. (Geerbt von 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. (Geerbt von SqlSmoObject.) | |
State | Gets the state of the referenced object. (Geerbt von 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. (Geerbt von SqlSmoObject.) | |
UserData | Gets or sets user-defined data associated with the referenced object. (Geerbt von 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. |
Zum Anfang
Ereignisse
Name | Beschreibung | |
---|---|---|
PropertyChanged | (Geerbt von SqlSmoObject.) | |
PropertyMetadataChanged | (Geerbt von SqlSmoObject.) |
Zum Anfang
Explizite Schnittstellenimplementierungen
Name | Beschreibung | |
---|---|---|
IAlienObjectDiscover | (Geerbt von SqlSmoObject.) | |
IAlienObjectGetParent | (Geerbt von SqlSmoObject.) | |
IAlienObjectGetProperty | (Geerbt von SqlSmoObject.) | |
ISfcPropertyProviderGetPropertySet | (Geerbt von SqlSmoObject.) | |
IAlienObjectGetUrn | (Geerbt von SqlSmoObject.) | |
IAlienObjectResolve | (Geerbt von SqlSmoObject.) | |
IAlienObjectSetProperty | (Geerbt von SqlSmoObject.) |
Zum Anfang