Condividi tramite


Metodo Serialize (String)

Serializes the package to the file system.

Spazio dei nomi  Microsoft.MasterDataServices.Deployment
Assembly:  Microsoft.MasterDataServices.Deployment (in Microsoft.MasterDataServices.Deployment.dll)

Sintassi

'Dichiarazione
Public Sub Serialize ( _
    packageFileName As String _
)
'Utilizzo
Dim instance As Package
Dim packageFileName As String

instance.Serialize(packageFileName)
public void Serialize(
    string packageFileName
)
public:
void Serialize(
    String^ packageFileName
)
member Serialize : 
        packageFileName:string -> unit 
public function Serialize(
    packageFileName : String
)

Parametri

  • packageFileName
    Tipo: System. . :: . .String
    Full path and file name specifying where to save the package file.

Osservazioni

Serialize throws ArgumentNullException if packageFileName is null Nothing nullptr unit riferimento Null (Nothing in Visual Basic). or empty.

Serialize throws DeploymentException if validation of the package fails.