共用方式為


XmlReadDoc.LoadFile 方法

Loads the contents of an assembly file on the specified path. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。

命名空間:  Microsoft.SqlServer.Management.Sdk.Sfc
組件:  Microsoft.SqlServer.Management.Sdk.Sfc (在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

語法

'宣告
Public Sub LoadFile ( _
    a As Assembly, _
    strFile As String _
)
'用途
Dim instance As XmlReadDoc 
Dim a As [Assembly]
Dim strFile As String

instance.LoadFile(a, strFile)
public void LoadFile(
    Assembly a,
    string strFile
)
public:
void LoadFile(
    Assembly^ a, 
    String^ strFile
)
member LoadFile : 
        a:Assembly * 
        strFile:string -> unit
public function LoadFile(
    a : Assembly, 
    strFile : String
)

參數

  • strFile
    型別:System.String
    The name or path of the file in an assembly.

請參閱

參考

XmlReadDoc 類別

Microsoft.SqlServer.Management.Sdk.Sfc 命名空間